package com.yixing.tech.common.vo.s8;

import com.yixing.tech.common.base.BaseVO;
import com.yixing.tech.common.vo.s5.EntitySchema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author yixing tech
 * at 2022/9/2
 * describe：生产操作
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class ProductOperationDefVO extends BaseVO {

    String name;
    EntitySchema obj;
    String desc;
    List<String> formVariables;
    List<AttributeMapping> processMapping;
    List<AttributeMapping> stageMapping;
    List<AttributeMapping> execProcessMapping;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class AttributeMapping{
        String target;
        String source;
    }
}
